<div class="findtrs">
	<form action="" class="layui-inline layui-form" method="post" style="width: 100%">
		{include file="cards/card_info_header"/}
		<div class="fremittanpred fbai" style="height: 450px;">
			{include file="cards/card_info_menu"/}
			<div class="list">
				<ul>
					<li>
						<label>备注 <i>*</i></label>
						<div class="rt">
							<input type="text" class="info" name="remarks" id="remarks" value="{$remark}" lay-verify="required" lay-verType="tips" placeholder="" >
						</div>
					</li>
				</ul>
			</div>
			<input type="hidden" value="{$card_id}" name="card_id">
			<input type="hidden" value="card_remark" name="type">
			<div class="fbottonlst" style="float: left">
				<ul>
					<li class="on">
						<input type="button" class="fsubmit" lay-submit lay-filter="edit" style="float: left" value="提 交" >
					</li>
					<li><a href="{:url('cards/cardList')}">返回</a></li>
				</ul>
			</div>
		</div>
	</form>
</div>
<script type="text/javascript">
	layui.use(['form'], function(){
		var form = layui.form;

		form.on('submit(edit)', function(data){
			var loading =layer.load(1, {shade: [0.1,'#fff']});
			JsPost("{:url('cards/cardAction')}", data.field, function(res){
				layer.close(loading);
				if(res.code >0){
					layer.msg(res.msg, {time:1500}, function(){
						window.location.href = "{:url('cardList')}";
					});
				}else{
					layer.msg(res.msg , {time:1500});
				}
			})
		});
	});
</script>